package cn.tedu.mvccoolshark.mapper;

import cn.tedu.mvccoolshark.pojo.entity.Product;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProductMapper {

    int insert(Product product);

    int delete(int id);

    int update(Product product);

    List<Product> select();
}
